#include <stdio.h>
int Sum(int s, int e)
{
    int sum = 0;
    int i = s;
    for(;i <= e;i++)
    {
        sum += i;
    }

    return sum;
}

int main()
{
    printf("process is running\n");

    int start = 1;
    int end = 100;
    int result = Sum(start, end);
    
    printf("process is done, result:%d\n", result);
    return 0;
}
